<div id="main">
				<div class="body">
					<ul id="list">
<?php
	foreach($this->tintuc as $chude)
	{
		$id = $chude->getId();
		
		$tenchude= $chude->getTenchude();
		$tintucs = $chude->getTintuc();
		
		
?>
						<h1><?php echo $tenchude?></h1>
						
						<?php 
						foreach($tintucs as $tintuc)
								{
									$tenbaiviet = $tintuc->getTenbaiviet();
									$ngaydang = $tintuc->getNgaydang();
									$tomtat = $tintuc->getTomtat();
			

								$linkChitiet = $this->baseUrl('/tintuc/xem/id/'.$id);
						?>
						<li>
							<span class="time"><?php echo $ngaydang?></span>
							<h3><?php echo $tenbaiviet?></h3>
							<p>
								<?php echo $tomtat;?>
							</p>
							<a href="<?php echo $linkChitiet?>" class="more">Xem >></a>
						</li>
				<?php 
					}
				}
				?>		
				</ul>
					<div id="pagination">
						<a href="news.html">&lt;&lt;</a> <a href="news.html">First</a> <a href="news.html">1</a> <a href="news.html">2</a> <a href="news.html">3</a> <a href="news.html">4</a> <a href="news.html">5</a> <a href="news.html">6</a> <a href="news.html">7</a> <a href="news.html">8</a> <a href="news.html">9</a> <a href="news.html">10</a> <a href="news.html">11</a> <a href="news.html">12</a> <a href="news.html">13</a> <a href="news.html">14</a> <a href="news.html">15</a> <a href="news.html">16</a> <a href="news.html">17</a> <a href="news.html">18</a> <a href="news.html">19</a> <a href="news.html">20</a> <a href="news.html">Last</a> <a href="news.html">&gt;&gt;</a>
					</div>
				</div>
				</div>
				<?php echo $this->render('/tintuc/nav/index.php');?>